<template>
  <div>
    {{message}}
    <button @click="logMessage">log</button>
  </div>
</template>

<script setup>
  const message="this is a message";
  const logMessage = ()=> {
    console.log(message);
  }
</script>

<style scoped>

</style>
